#!/usr/bin/env python
# -*- coding: UTF-8 -*-
from rest_framework import serializers
from .models import DemoBook


class DemoBookSerializer(serializers.ModelSerializer):
    """基础serializer"""

    class Meta:
        model = DemoBook
        fields = "__all__"
